package cn.zucc.edu.handyzucc.service;

import cn.zucc.edu.handyzucc.entity.Event;
import cn.zucc.edu.handyzucc.entity.EventReg;
import cn.zucc.edu.handyzucc.entity.EventRegExtend;

import java.util.List;

public interface EventService {
    List<Event> getAllEvents();
    Event getEventDetailById(Integer event_id);
    boolean eventReg(Integer eventreg_event, Integer eventreg_user);
    boolean eventAlreadyReg(Integer eventreg_event, Integer eventreg_user);

    boolean addEvent(Event event);
    boolean deleteEvent(Integer event_id);
    boolean updateEvent(Event event);
    List<EventRegExtend> getEventReg(Integer event_id);
}
